package jnpf.controller;

import jnpf.base.ActionResult;
import jnpf.service.MeetingGetListByIdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/bt/meetingGetListById")
public class MeetingListByIdController {

    // *详情，修改按钮获取表单数据

    @Autowired
    private MeetingGetListByIdService meetingGetListByIdService;

    @GetMapping("/listById/{id}")
    public ActionResult listMeetingGetById(@PathVariable("id") String id) {
        return ActionResult.success(meetingGetListByIdService.meetingGetListById(id));
    }
}
